/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


public class CuadroDespliegue extends javax.swing.JFrame {
    CuadroDespliegue(){
        this.setSize(600, 600); //Las Dimensiones de la Ventana
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        javax.swing.JPanel panel = new javax.swing.JPanel();
        panel.setBounds(20, 20, 600, 600);
        processing.core.PApplet sketch = new Main();
        panel.add(sketch);
        this.add(panel);
        sketch.init(); //Esto es necesario para iniciar el Sketch
        this.setVisible(true);
    }
}
